﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="login.aspx.cs" Inherits="user_login" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title>用户登录 - 三剑客在线教育管理系统</title>
    <script type="text/javascript">
        function refresh() {
            document.getElementById("authImg").src = '../admin/inc/Validata.aspx?now=' + new Date();
        }
    </script>
    <link rel="stylesheet" href="../css/navstyle.css" media="all" />
    <link rel="stylesheet" href="../css/page.css" media="all" />
    <link rel="stylesheet" href="../css/tophit.css" media="all" />
    <style type="text/css">
        .main
        {
            margin: 5px auto 0px auto;
            width: 1024px;
            height: 100%;
            background-color: #FFFFFF;
            border: 0;
            text-align: left; 
        }
        
        .login
        {
            
            height: 300px;
            margin-top:150px;
            margin-left:400px;
        }
        
        .left
        {
            width: 640px;
            background-color: #ffffff;
            float: left;
            margin-top: 10px;
            margin-bottom: 10px;
            margin-left: 30px;
            _margin-left: 15px;
            border: 1px solid #DFDFDF;
            padding-right:20px;
            padding-left:20px;
            padding-top:10px;
            padding-bottom:20px;
        }
        
        .left .line
        {
            width:100%;
            height:1px;
            border-bottom:1px solid #DFDFDF;
            overflow: hidden;
            margin-bottom:5px;
            margin-top:5px;
            }
        .rigth
        {
            width: 270px;
            float: left;
            background-color: #ffffff;
            padding-bottom: 10px;
            padding-left: 20px;
            padding-right: 10px;
            padding-top: 10px;
            margin-bottom: 10px;
        }
        .title
        {
            text-align: center;
            font-size: 20px;
            font-weight: bold;
            margin-top: 10px;
            margin-bottom: 5px;
        }
        .info
        {
            width: 90%;
            margin: 0 auto;
            background-color: #ffffff;
            line-height:30px;
            font-size:14px; 
        }
        .info img
        {
            max-width: 430px;
            border:0px;
            width: expression(this.width > 430 ? 430: true);
        }
        .info .title
        {
            font-weight:bold; 
            font-size:14px; 
        }
        .info .txt
        {
            text-indent:2em;
        }
    </style>
</head>
<body>
    <form id="form1" runat="server">
    <div class="all">
        <div class="banner">
            <div class="logo">
            </div>
            <div class="blankleft">
            </div>
            <div class="blankalt">
            </div>
            <div class="blankrigth">
            </div>
        </div>
        <div class="NavBar">
            <div id="menu">
                <ul>
                    <li><a href="/" class="current"><span>首页</span></a></li>
                    <li><a href="../newsList.aspx"><span>新闻中心</span></a></li>
                    <li><a href="../javaList.aspx"><span>Java专区</span></a></li>
                    <li><a href="../netList.aspx"><span>.net专区</span></a></li>
                    <li><a href="../dataList.aspx"><span>数据库专区</span></a></li>
                    <li><a href="../otherList.aspx"><span>其他 专区</span></a></li>
                    <li><a href="../teacherList.aspx"><span>教师简介</span></a></li>
                    <li><a href="../aboutus.aspx"><span>关于我们</span></a></li>
                </ul>
            </div>
        </div>
        <div class="main">
            <div class="mappath">
                您所在的位置：<asp:SiteMapPath ID="smp_web" runat="server">
                </asp:SiteMapPath>
            </div>
            <div class="center"></div>
            <div class="login">
            <table width="250px">
                
                <tr>
                    <td style="text-align: center; height: 40px">
                        用户名：
                    </td>
                    <td>
                        <asp:TextBox ID="tb_userID" runat="server" Width="120px"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td style="text-align: center; height: 40px">
                        密&nbsp;&nbsp;码：
                    </td>
                    <td>
                        <asp:TextBox ID="tb_userPwd" runat="server" TextMode="Password" Width="120px"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td style="text-align: center; height: 40px">
                        验证码：
                    </td>
                    <td>
                        <asp:TextBox ID="tb_code" runat="server" Width="80px"></asp:TextBox><a href="javascript:void(0);"
                            onclick="refresh();" title="看不清？单击此处刷新验证码"><img src="../admin/inc/Validata.aspx"
                                alt="看不清？单击此处刷新验证码" width="35" height="17" id="authImg" border="0" /></a>
                    </td>
                </tr>
                <tr>
                    <td colspan="2" align="center" style="text-align: center; height: 40px">
                        <asp:Button ID="btn_login" runat="server" Text="登录" OnClick="btn_login_Click" />&nbsp;&nbsp;&nbsp;<a href="../user/register.aspx" target="_blank">注册</a>
                    </td>
                </tr>
            </table>
            </div>
        </div>
    <div style="font: 0px/0px sans-serif; clear: both; display: block">
    </div>

    <div class="bottom">
        <div class="blogroll">
            <img src="../images/blogrool.gif" alt="" height="31" width="88" border="0" />
            <asp:Repeater ID="blogrollList" runat="server">
                <ItemTemplate>
                    <a href="http://<%# DataBinder.Eval(Container.DataItem, "sitelink")%>" target="_blank">
                        <img src="<%# DataBinder.Eval(Container.DataItem, "siteLogo")%>" height="31" width="88"
                            alt="<%# DataBinder.Eval(Container.DataItem, "siteAlt")%>" border="0" /></a>
                </ItemTemplate>
            </asp:Repeater>
        </div>
    </div>
    <div class="splitred">
    </div>
    <div class="copyright">
            <% =strcr %>
         </div>
    </div>
    </form>
</body>
</html>
